package com.example.mydatabaseapp.data.infrastructure.repository;

import java.util.List;

public interface IRepositoryBase<T> {
	T find(int id);
	List<T> findAll();

    void delete(T entity);
    void delete(int id);

    void add(T entity);
    void update(T entity);
}
